<?php
/**
 * 描述：行业展会-详细信息页。
 * @final
 */
final class Exec_Exhibition_Infos_Info extends Exec_Exhibition_Right
{
    public function Get()
    {
        #获取参数
        $id=Functions::UrlArgs('id');

        #验证参数
        if(!is_numeric($id))
        {
            header("HTTP/1.0 404 Not Found");
            return;
        }

        #获取数据
        $data=DB::GetRowByID('exhibition_infos',$id);
		{
			$tmp=DB::GetRowByID('exhibition_infos_class','Identifying:'.$data['ClassID']);
			$data['ClassName']=$tmp['Name'];
		}
        View::Assign('Detail',$data);       

        #渲染输出
        View::Display('exhibition/infos/info.tpl');
    }
}
?>